#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIView (Corner)
- (void)ct_setCorner:(UIRectCorner)corner cornerRadius:(CGFloat)cornerRadius;
-(void)ct_getHalfCornerView;
-(void)ct_getCornerViewWithRadius:(CGFloat)radiu;
-(void)ct_getCornerViewWithRadius:(CGFloat)radiu borderColor:(UIColor *)borderColor borderWidth:(CGFloat)borderWidth;
-(void)ct_getTopCornerWithRatio:(CGFloat)radiu;
-(void)ct_getBottomCornerWithRatio:(CGFloat)radiu;
-(void)ct_getLeftCornerWithRatio:(CGFloat)radiu;
- (void)ct_setBorderColor:(UIColor *)color;
- (void)ct_setBorderColor:(UIColor *)color lineWidth:(CGFloat)lineWidth;
- (void)ct_setupBorderWidth:(CGFloat)width color:(CGColorRef)color cornerRadius:(CGFloat)cornerRadius needMaskLayer:(CALayer *)layer;
@end
NS_ASSUME_NONNULL_END
